package com.pzhu.dormitory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pzhu.dormitory.entity.MenuEntity;
import com.pzhu.dormitory.utils.PageUtils;
import com.pzhu.dormitory.vo.MenuNode;
import com.pzhu.dormitory.vo.MenuRoleVo;

import java.util.Map;

/**
 * 菜单
 *
 * @author
 * @email
 * @date 2021-04-10 08:46:25
 */
public interface MenuService extends IService<MenuEntity> {
    PageUtils<MenuEntity> queryPage(Map<String, Object> params);

    /**
     * 加载菜单
     */
    MenuNode loadMenu();

    MenuRoleVo loadRoles(String menuId);
}

